#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2013-01-21 23:00:57:363 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using YhdSdk.Domain.Logistics;

namespace YhdSdk.Response.Logistics
{
    /// <summary>
    /// 获取仓库信息
    ///<para></para>
    ///<para>根据仓库id获取相应的仓库信息及仓库的配送范围，如果不传入仓库id就获取所有的仓库信息及配送范围。获取</para>
    ///<para>成功，就返回成功的仓库个数，获取失败就返回失败记录数及相应的错误描述信息</para>
    /// </summary>
    public class YhdLogisticsWarehouseInfoGetResponse : YhdResponse
    {
        /// <summary>
        /// 查询成功记录数
        /// </summary>
        /// <example>10</example>
        [XmlElement("totalCount")]
        public Int32 TotalCount
        {
            get;
            set;
        }

        /// <summary>
        /// 仓库ID
        /// </summary>
        /// <example>1</example>
        [XmlElement("warehouseId")]
        public Int64 WarehouseId
        {
            get;
            set;
        }

        /// <summary>
        /// 仓库名称
        /// </summary>
        /// <example>上海仓库</example>
        [XmlElement("warehouseName")]
        public String WarehouseName
        {
            get;
            set;
        }

        /// <summary>
        /// 是否为默认仓库(1表示默认仓库，0表示非默认仓库)
        /// </summary>
        /// <example>0</example>
        [XmlElement("isDefaultWarehouse")]
        public Int32 IsDefaultWarehouse
        {
            get;
            set;
        }

        /// <summary>
        /// 配送范围信息列表
        /// </summary>
        [XmlArray("warehouseRangeInfoList")]
        [XmlArrayItem("warehouseRange")]
        public List<WarehouseRange> WarehouseRangeInfoList
        {
            get;
            set;
        }

    }
}
